package com.senven.address.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.senven.common.entity.Address;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author YSH
 * @since 2022-09-05
 */
@Mapper
public interface AddressMapper extends BaseMapper<Address> {
    int insertAddress(Address address);

    List<Address> findAllAddressByuserid(String id);

    List<Address> findAllAddress(String id);


    int updateAddress(Integer id);
}
